package com.jzr.board.db1.mapper;

import com.jzr.board.db1.vo.AppVersionVo;
import org.apache.ibatis.annotations.Select;
import org.springframework.context.annotation.Primary;

@Primary
public interface MyAppVersionMapper extends TAppVersionMapper {
    @Select("select * from t_app_version a where a.`status`=1 and a.soft_type=#{softType} ORDER BY a.full_version DESC limit 1")
    AppVersionVo lastVersion(Integer softType);
}
